<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="/common/session.jsp"%>
<!DOCTYPE html>
<html>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0, user-scalable=no, width=device-width">
<LINK type="text/css" rel="stylesheet" href="${ctx}/css/xtree.css">
<script type="text/javascript" src="${ctx}/js/xtree.js"></script>
</HEAD>
<body>
    <!-- <a href="javascript:parent.showMenuItem(66071, '销售信息', '${ctx}/sale/src/list.html')">销售信息</a> -->
<SCRIPT language="javascript" type="text/javascript">
var menuTree = new WebFXTree(0, '操作菜单');
<c:if test="${!empty securityAccount}">
    <c:if test="${!empty securityAccount.resourceList}">
        <c:forEach var="resource1" items="${securityAccount.resourceList}">
            <c:if test="${resource1.resourceType == 1}">
            var menu${resource1.resourceId} = new WebFXTreeItem("${resource1.resourceId}", "${resource1.resourceName}", "", menuTree, menuTree);
            <c:forEach var="resource2" items="${resource1.resourceList}">
                <c:if test="${resource2.resourceType == 1}">
                var menuItem${resource2.resourceId} = new WebFXTreeItem("${resource2.resourceId}", "${resource2.resourceName}", "javascript:parent.showMenuItem(${resource2.resourceId}, '${resource2.resourceName}', '${ctx}${resource2.resourceUrl}')", menu${resource1.resourceId}, menuTree);
                </c:if>
            </c:forEach>
            </c:if>
        </c:forEach>
    </c:if>
</c:if>
</SCRIPT>
</body>
</html>
